
package com.abbh.libcommunity.model ;

import java.util.HashSet;
/**
 *
 *
 * @hibernate.class
 *     table="ITEM"
 *
 */
public class Item {
    
    
    // <editor-fold defaultstate="collapsed" desc=" 1-N  Relation to Collection /*com.abbh.libcommunity.model.Authors*/ authorss ">
    private java.util.Collection authorss=new HashSet();
    
    /**
     * @hibernate.set
     *     role="authorss"
     * @hibernate.collection-key
     *     column="ITEM_ID"
     * @hibernate.collection-one-to-many
     *     class="com.abbh.libcommunity.model.Authors"
     *  @hibernate.set
     *     cascade="all"
     *   lazy="true"
     *
     */
    public java.util.Collection getAuthorss() {
        return this.authorss;
    }
    
    public void setAuthorss(java.util.Collection authorss) {
        this.authorss = authorss;
    }
    // </editor-fold>

    
    
    // <editor-fold defaultstate="collapsed" desc=" 1-N  Relation to Collection /*com.abbh.libcommunity.model.UserAwaitItems*/ userAwaitItemss ">
    private java.util.Collection userAwaitItemss=new HashSet();
    
    /**
     * @hibernate.set
     *     role="userAwaitItemss"
     * @hibernate.collection-key
     *     column="ITEM_ID"
     * @hibernate.collection-one-to-many
     *     class="com.abbh.libcommunity.model.UserAwaitItems"
     *   @hibernate.set
     *   cascade="all"
     *   lazy="true"
     */
    public java.util.Collection getUserAwaitItemss() {
        return this.userAwaitItemss;
    }
    
    public void setUserAwaitItemss(java.util.Collection userAwaitItemss) {
        this.userAwaitItemss = userAwaitItemss;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc=" 1-N  Relation to Collection /*com.abbh.libcommunity.model.UserHoldItems*/ userHoldItemss ">
    private java.util.Collection userHoldItemss=new HashSet();
    
    /**
     * @hibernate.set
     *     role="userHoldItemss"
     * @hibernate.collection-key
     *     column="ITEM_ID"
     * @hibernate.collection-one-to-many
     *     class="com.abbh.libcommunity.model.UserHoldItems"
     *
     *   @hibernate.set
     *     cascade="all"
     *     lazy="true"
     */
    public java.util.Collection getUserHoldItemss() {
        return this.userHoldItemss;
    }
    
    public void setUserHoldItemss(java.util.Collection userHoldItemss) {
        this.userHoldItemss = userHoldItemss;
    }
    // </editor-fold>

    
    // <editor-fold defaultstate="collapsed" desc=" 1-N  Relation to Collection /*com.abbh.libcommunity.model.UserBoughtItems*/ userBoughtItemss ">
    private java.util.Collection userBoughtItemss=new HashSet();
    
    /**
     * @hibernate.set
     *     role="userBoughtItemss"
     * @hibernate.collection-key
     *     column="ITEM_ID"
     * @hibernate.collection-one-to-many
     *     class="com.abbh.libcommunity.model.UserBoughtItems"
     *  @hibernate.set
     *     cascade="all"
     *      lazy="true"
     *
     */
    public java.util.Collection getUserBoughtItemss() {
        return this.userBoughtItemss;
    }
    
    public void setUserBoughtItemss(java.util.Collection userBoughtItemss) {
        this.userBoughtItemss = userBoughtItemss;
    }
    // </editor-fold>

    
    
    // <editor-fold defaultstate="collapsed" desc=" 1-N  Relation to Collection /*com.abbh.libcommunity.model.UserRentedItems*/ userRentedItemss ">
    private java.util.Collection userRentedItemss=new HashSet();
    
    /**
     * @hibernate.set
     *     role="userRentedItemss"
     * @hibernate.collection-key
     *     column="ITEM_ID"
     * @hibernate.collection-one-to-many
     *     class="com.abbh.libcommunity.model.UserRentedItems"
     *    
     *    @hibernate.set
     *      cascade="all"
     *       lazy="true"
     */
    public java.util.Collection getUserRentedItemss() {
        return this.userRentedItemss;
    }
    
    public void setUserRentedItemss(java.util.Collection userRentedItemss) {
        this.userRentedItemss = userRentedItemss;
    }
    // </editor-fold>

    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String isbn ">
    
    private String isbn;
    
    /**
     *   @hibernate.property
     *     column="isbn"
     *   @hibernate.column
     *     name="ISBN"
     */
    public String getIsbn() {
        return isbn;
    }
    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String title ">
    private String title;
    /**
     *   @hibernate.property
     *     column="title"
     *   @hibernate.column
     *     name="TITLE"
     */
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String description ">
    private String description;
    /**
     *   @hibernate.property
     *     column="description"
     *   @hibernate.column
     *     name="DESCRIPTION"
     */
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   Integer year ">
    private Integer year;
    /**
     *   @hibernate.property
     *     column="year"
     *   @hibernate.column
     *     name="YEAR"
     */
    public Integer getYears() {
        return year;
    }
    public void setYears(Integer year) {
        this.year = year;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String rating ">
    private String rating;
    /**
     *   @hibernate.property
     *     column="rating"
     *   @hibernate.column
     *     name="RATING"
     */
    public String getRating() {
        return rating;
    }
    public void setRating(String rating) {
        this.rating = rating;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String itemType ">
    private String itemType;
    /**
     *   @hibernate.property
     *     column="itemType"
     *   @hibernate.column
     *     name="ITEM_TYPE"
     */
    public String getItemType() {
        return itemType;
    }
    public void setItemType(String itemType) {
        this.itemType = itemType;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String itemCategory ">
    private String itemCategory;
    /**
     *   @hibernate.property
     *     column="itemCategory"
     *   @hibernate.column
     *     name="ITEM_CATEGORY"
     */
    public String getItemCategory() {
        return itemCategory;
    }
    public void setItemCategory(String itemCategory) {
        this.itemCategory = itemCategory;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String publisher ">
    private String publisher;
    /**
     *   @hibernate.property
     *     column="publisher"
     *   @hibernate.column
     *     name="PUBLISHER"
     */
    public String getPublisher() {
        return publisher;
    }
    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   java.util.Date creationDate ">
    private java.util.Date creationDate;
    /**
     *   @hibernate.property
     *     column="creationDate"
     *   @hibernate.column
     *     name="CREATION_DATE"
     */
    public java.util.Date getCreationDate() {
        return creationDate;
    }
    public void setCreationDate(java.util.Date creationDate) {
        this.creationDate = creationDate;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String createdUser ">
    private String createdUser;
    /**
     *   @hibernate.property
     *     column="createdUser"
     *   @hibernate.column
     *     name="CREATED_USER"
     */
    public String getCreatedUser() {
        return createdUser;
    }
    public void setCreatedUser(String createdUser) {
        this.createdUser = createdUser;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   java.util.Date lastModifiedDate ">
    private java.util.Date lastModifiedDate;
    /**
     *   @hibernate.property
     *     column="lastModifiedDate"
     *   @hibernate.column
     *     name="LAST_MODIFIED_DATE"
     */
    public java.util.Date getLastModifiedDate() {
        return lastModifiedDate;
    }
    public void setLastModifiedDate(java.util.Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String lastModifiedUser ">
    private String lastModifiedUser;
    /**
     *   @hibernate.property
     *     column="lastModifiedUser"
     *   @hibernate.column
     *     name="LAST_MODIFIED_USER"
     */
    public String getLastModifiedUser() {
        return lastModifiedUser;
    }
    public void setLastModifiedUser(String lastModifiedUser) {
        this.lastModifiedUser = lastModifiedUser;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" PrimaryKey:   Integer id ">
    private Integer id;
    /**
     *   @hibernate.id
     *     generator-class="increment"
     */
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    //</editor-fold>

}